Approaches to Reflective Method Invocation
نویسندگان
چکیده
Reflective method invocation is a long known performance bottle neck in Java. Different approaches to optimizing reflective method invocation are adopted by JVMs. In this paper we present an overview of the different approaches and a performance analysis using synthetic and the DaCapo benchmarks. We implement all of the approaches in the Jikes RVM.
منابع مشابه
SmartMethod: an Efficient Replacement for Method pdfsubject
In the last few years the interest in reflection has grown and many modern programming languages/architectures have provided the programmer with reflective mechanisms. As well as any other novelty also reflection has detractors. They rightly or wrongly accuse reflection to be too inefficient to be used with real profit. In this work, we have investigated about the performance of Java reflection...
متن کاملReflective remote method invocation
Remote Method Invocation (RMI) is available in the current Java language design and implementation, providing the much-needed capability of allowing objects running in different Java processes to collaborate using a variation on the popular Remote Procedure Call (RPC). Although RMI provides features which are desirable for high-performance distributed computing, its design and implementation ar...
متن کاملRun-Time Metaobject Protocols: the Quest for their Holy Application
Run-time MetaObject Protocols (MOPs) are reflective systems that allow objects to be controlled at run time by one or many metaobjects. These metaobjects can then alter the semantics of the execution for the base objects they control. Jumping to the meta level to alter the semantics is powerful but indeed fairly costly. It is therefore desirable to let users fine-tune their run-time MOP accordi...
متن کاملMetaJava: An Efficient Run-Time Meta Architecture for JavaTM
Adaptability to special requirements of applications is a crucial concern of modern operating system2 architectures. Reflection and meta objects are means to achieve this adaptability. This paper reports on ideas and experience we obtained while extending the run-time system of the objectoriented language Java with reflective capabilities. We explain our model of an object-oriented architecture...
متن کاملA Semantic Framework for Modeling and Reasoning about Reflective Middleware: The Logger Example
In a distributed reflective framework, issues of correctness and composition can be quite subtle and complex. Interactions within and across reflective levels must be considered, the semantics of shared, distributed resources must be clearly spelled out, and new notions of correctness of the overall system need to be developed that account for the dynamic, distributed, and reflective setting. T...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2008